package com.antrain.his.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 成药处方模板表
 * </p>
 *
 * @author antrain
 * @since 2020-09-09
 */
@Data
@EqualsAndHashCode(callSuper = false)
public class Drugstemplate implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * ID主键
     */
    @TableId(value = "ID", type = IdType.AUTO)
    private Integer id;

    /**
     * 名称
     */
    @TableField("Name")
    private String Name;

    /**
     * 医生ID
     */
    @TableField("UserID")
    private Integer UserID;

    /**
     * 创建时间
     */
    @TableField("CreationTime")
    private LocalDateTime CreationTime;

    /**
     * 使用范围   全院/科室/个人
     */
    @TableField("Scope")
    private String Scope;

    /**
     * 删除标记
     */
    @TableField("DelMark")
    private Integer DelMark;


}
